#region License
/* Copyright (C) 2007 Cristian Libardo
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
#endregion

using System;
using System.Collections.Generic;
using System.Text;
using FlexiCommerce.Components;

namespace FlexiCommerce.Collections
{
    /// <summary>
	/// Event argument containing items.
	/// </summary>
    public class ItemListEventArgs<T> : EventArgs where T : PersistenceItem
    {
		/// <summary>Creates a new instance of the ItemListEventArgs.</summary>
		/// <param name="items">The items to associate with these arguments.</param>
		public ItemListEventArgs(ItemList<T> items)
        {
            this.items = items;
        }

        private ItemList<T> items;
		/// <summary>Gets or sets the items associated with these arguments.</summary>
        public ItemList<T> Items
        {
            get { return items; }
			set { items = value; }
        }
    }
}
